package com.qiyu.mall.user.provider.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 后台管理系统管理员
 *
 * @author idea
 * @data 2020/1/23
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@TableName(value = "t_worker")
public class WorkerPO implements Serializable {

    private static final long serialVersionUID = -6613393148896377872L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer roleId;

    private Integer workerId;

    private String workerName;

    private String password;

    private Date lastLoginTime;

    private Date createTime;

    private Date updateTime;

}
